package com.tzsafe.nfcdemo

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder

class UserAdapter : BaseQuickAdapter<UserInfo, BaseViewHolder>(R.layout.item_user) {

    override fun convert(holder: BaseViewHolder, item: UserInfo) {
        holder.setText(R.id.name, item.name)
        holder.setText(R.id.psw, item.system_code)
    }

}